package com.sgb.kjwl.view.ui.adapter.self.publish;

import android.content.Context;
import android.widget.TextView;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.sgb.kjwl.model.entity.ConcreteStrongFactEntity;
import com.sgb.kjwl.model.entity.user.TalentTypeEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class GoodsSpecificationsAdapter extends BaseRecycleAdapter<ConcreteStrongFactEntity> {
    private TextView mTvName;
    public GoodsSpecificationsAdapter(Context context, List<ConcreteStrongFactEntity> datas) {
        super(context, R.layout.item_concrete_info, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final ConcreteStrongFactEntity entity) {
        holder.setBinding(BR.viewModel, entity);
        mTvName = holder.getItem().findViewById(R.id.tv_name);
        mTvName.setText(entity.getStrongLevel());
    }

}
